// 封装登录接口
import { _axios } from '@/utils/request'
// 封装登录接口
export const syslogin = (data) => {
  return _axios({
    url: '/sys/login',
    method: 'POST',
    data
  })
}
// 封装用户信息接口
export const sysprofile = () => {
  return _axios({
    url: '/sys/profile',
    method: 'POST'
  })
}
// 封装用户详细信息
export const sysuser = (id) => {
  return _axios({
    url: `/sys/user/${id}`
  })
}
